package com.lei.springbootpractice.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value="Address")
public class AddressPojo {
    @TableId(value="address_id",type= IdType.ASSIGN_ID)
    private String addressId;
    @TableField(value="user_id")
    private String userId;
    @TableField(value="address")
    private String address;
    @TableField(value="username")
    private String username;
    @TableField(value = "phone")
    private int phone;
    
}
